package com.data
{
	[Bindable]
	public class FilterData
	{
		public var fieldName:String;
		public var label:String;
		public var minVal:Number;
		public var maxVal:Number;
		public var selected:Boolean; // whether to apply the filter or not corresponds to combobox
		public var thumbCount:int;
		
		public function FilterData(fieldName:String, thumbCount:int, label:String="")
		{
			this.fieldName = fieldName;
			if (label == "")
				this.label = fieldName;
			else this.label = label;
			this.selected = false;
			this.thumbCount = thumbCount;
		}
		
		public function isOk(ind:Object):Boolean
		{
			return false;
		}
	}
}